<template>
    <div class="jiesuan">
        <div class="main">
            <!-- 超值换购 甜蜜加倍 -->
            <section class="group">
                <div class="wrap">
                    <label class="child" for="">超值换购 甜蜜加倍</label>
                    <span class="child">加购超值组合专享礼</span>
                    <a href="" class="child">
                        点击选购
                    </a>
                </div>
            </section>

            <!-- 加购选项 -->
            <section class="goods_list">
                <div class="group_item">
                    <div class="goods_item">
                         <div class="goods">
                            <a href="" class="check active"></a>
                            <div class="goods_message">
                                <a href="">
                                    <div class="img">
                                        <img src="/img/gwd/list_26553.jpg" alt="">
                                    </div>
                                </a>
                                <div class="goods_detail">
                                    <h2 class="no_wrap">环游世界</h2>
                                    <div class="standard">
                                        <p class="fork">
                                            每份餐具5套
                                        </p>
                                    </div>
                                    <div class="price" style="justify-content: space-between;">
                                        <ul>
                                            <li><p>￥258</p></li>
                                            <li> <van-stepper  /></li>
                                        </ul>
                                        
                                       
                                        </div>
                                <!-- <div class="input_wrap">
                                    <a href="" class="down"></a>
                                     <input type="number" class="num">
                                    <a href="" class="up">+</a>
                                </div> -->

                            </div>
                        </div>
                        <div class="more_info">
                            <h4 class="h4">
                                <span>填写生日信息,免费赠送生日牌</span>
                            </h4>
                        </div>
                    </div>
                </div>
                </div>
            </section>
            <div class="fx"></div>
            <!-- 精品配件 -->
            <section class="accessories">
                <div class="division">
                    <h2>精品配件</h2>
                </div>
                <ul>
                    <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_10844(1).jpg" alt="">
                        </div>
                        <h3>Happy Birthday蜡烛</h3>
                        <h4>
                            <b>￥15</b>
                            <i>+</i>
                        </h4>
                    </li>
                      <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_12663.jpg" alt="">
                        </div>
                        <h3>I LOVE MAMA 蜡烛</h3>
                        <h4>
                            <b>￥15</b>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_12663.jpg" alt="">
                        </div>
                        <h3>I LOVE PAPA 蜡烛</h3>
                        <h4>
                            <b>￥15</b>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_25863.jpg" alt="">
                        </div>
                        <h3>数字棒棒糖 (数字1)</h3>
                        <h4>
                            <b>￥9.9</b>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_25869.jpg" alt="">
                        </div>
                        <h3>数字棒棒糖 (数字3)</h3>
                        <h4>
                            <b>￥9.9</b>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_25860.jpg" alt="">
                        </div>
                        <h3>数字棒棒糖 (数字0)</h3>
                        <h4>
                            <b>￥9.9</b>
                            <i>+</i>
                        </h4>
                    </li>
                    <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_10841.jpg" alt="">
                        </div>
                        <h3>心形蜡烛</h3>
                        <h4>
                            <b>￥5</b>
                            <i>+</i>
                        </h4>
                    </li>
                </ul>
            </section>
            <div class="fx"></div> 

             <!-- 超值换购 甜蜜加倍 -->
            <section class="accessories">
                <div class="division">
                    <h2>超值换购 甜蜜加倍</h2>
                </div>
                <ul>
                    <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_27246.jpg" alt="">
                        </div>
                        <h3>云朵绵绵瑞士卷·四拼</h3>
                        <h4>
                            <b>￥36</b>
                            <b style="color:#9c9c9c">/4片</b>
                            <s style="color:#9c9c9c"> ￥46</s>
                            <i>+</i>
                        </h4>
                    </li>
                      <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_27471.jpg" alt="">
                        </div>
                        <h3>原味匠心吐司·切片</h3>
                        <h4>
                            <b>￥39</b>
                            <b style="color:#9c9c9c">/5片</b>
                            <s style="color:#9c9c9c"> ￥58</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_27329.jpg" alt="">
                        </div>
                        <h3>爆浆麻薯冰泡芙</h3>
                        <h4>
                           <b>￥48</b>
                            <b style="color:#9c9c9c">/香草</b>
                            <s style="color:#9c9c9c"> ￥58</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_27117.jpg" alt="">
                        </div>
                        <h3>云朵绵绵瑞士卷</h3>
                        <h4>
                             <b>￥36</b>
                            <b style="color:#9c9c9c">/4片</b>
                            <s style="color:#9c9c9c"> ￥46</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_27538.jpg" alt="">
                        </div>
                        <h3>mini可颂</h3>
                        <h4>
                             <b>￥25</b>
                            <b style="color:#9c9c9c">/6枚</b>
                            <s style="color:#9c9c9c"> ￥36</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_27741.jpg" alt="">
                        </div>
                        <h3>甜凉一夏·软心冰淇淋6只装</h3>
                        <h4>
                             <b>￥29</b>
                            <b style="color:#9c9c9c">/6套</b>
                            <s style="color:#9c9c9c"> ￥96</s>
                            <i>+</i>
                        </h4>
                    </li>
                </ul>
            </section>
            <div class="fx"></div> 

            
            <!-- 超值组合专享礼 -->
              <section class="accessories">
                <div class="division">
                    <h2>超值组合专享礼</h2>
                </div>
                <ul>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_10844(1).jpg" alt="">
                        </div>
                        <h3>Happy Birthday蜡烛</h3>
                        <h4>
                            <b>￥10</b>
                            <b style="color:#9c9c9c">/1份</b>
                            <s style="color:#9c9c9c"> ￥15</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_24692.jpg" alt="">
                        </div>
                        <h3>生日派对插牌</h3>
                        <h4>
                            <b>￥5</b>
                            <b style="color:#9c9c9c">/1套</b>
                            <s style="color:#9c9c9c"> ￥10</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_10844(1).jpg" alt="">
                        </div>
                        <h3>Happy Birthday蜡烛</h3>
                        <h4>
                            <b>￥10</b>
                            <b style="color:#9c9c9c">/1份</b>
                            <s style="color:#9c9c9c"> ￥15</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_24689.jpg" alt="">
                        </div>
                        <h3>sweet love插牌</h3>
                        <h4>
                            <b>￥5</b>
                            <b style="color:#9c9c9c">/套</b>
                            <s style="color:#9c9c9c"> ￥10</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_25575.jpg" alt="">
                        </div>
                        <h3>十周年纪念版手袋</h3>
                        <h4>
                            <b>￥15</b>
                            <b style="color:#9c9c9c">/个</b>
                            <s style="color:#9c9c9c"> ￥39</s>
                            <i>+</i>
                        </h4>
                    </li>
                     <li>
                        <div class="img_wrap">
                            <img src="/img/jiesuan/list_10844(1).jpg" alt="">
                        </div>
                        <h3>Happy Birthday蜡烛</h3>
                        <h4>
                            <b>￥10</b>
                            <b style="color:#9c9c9c">/1份</b>
                            <s style="color:#9c9c9c"> ￥15</s>
                            <i>+</i>
                        </h4>
                    </li>
                </ul>
            </section>
            <div class="fx"></div> 
        </div>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                jiesuan: {}
            }
        },
    }
</script>

<style lang="scss" scoped>
body{
    background-color: #f4f4f4;
}
html{
    font-size: 100px;
    margin: 0;
    padding: 0;
    border: 0;
}
.main{
    max-width: 640px;
    margin: auto;
}
.group{
    margin-bottom: 10px;
    max-width: 640px;
    margin: auto;
}
.wrap{
    position: relative;
    padding: 15px 20px;
}
.wrap .child{
    float: left;
    font-size: 13px;
}
.wrap label{
    background:#ff4001;
    color: #fff;
    height: 16px;
    line-height: 16px;
    padding: 0 6px;
    border-radius: 2px;
    margin-right: 4px;
    font-size: 10px;
    cursor: pointer;
}
.wrap a.child{
    float:right;
    height: 16px;
    line-height: 16px;
    color: #ff4001;
    text-decoration: underline;
    position: relative;
}

.goods_item{
    min-height: 110px;
}
.goods{
    padding: 10px 20px 0 5px;
    position: relative;
}
.goods .check{
    position: absolute;
    width: 40px;
    height: 90px;
    left: 10px;
    top: 10px;
    font-size: 100%;
    color: inherit;
}
.goods .check.active:before{
    background-position: -180px -140px;
}
.goods .check:before{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(/public/img/vip/icons.png) no-repeat center;
    background-size: 200px 200px;
    top: 50%;
    margin-left: 10px;
}
.goods_message{
    position: relative;
}
.goods_message a{
    font-size: 100%;
    outline: 0;
    color: inherit;
    cursor: pointer;
}
.img{
    position: relative;
    width: 90px;
    height: 90px;
    float: left !important;
    // overflow: hidden;
}
.img img{
    max-width: none;
    max-height: 100%;
    position: relative;
    left: 50%;
    // top: 50%;
    // transform:translate(-50%, -50%);
}
.goods_detail{
    position: relative;
    margin-left: 150px;
    height: 90px;
}
.goods_detail h2{
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    font-weight: normal;

}
.fx{
    max-width: 640px;
    height: 8px;
    background-color: #f3f3f3;
}
.standard{
    font-size: 11px;
    color: #9c9c9c;
}
.standard p{
    position: relative;
    height: 16px;
    line-height: 16px;
    padding-left: 12px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.standard p:before{
    background-position: -44px 0;
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background:url(/public/img/vip/icons.png) no-repeat center;
    background-size: 200px 200px;
    top: 50%;
}
.price{
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 9px;
}
.price p{
    display: inline-block;
    color: rgb(255,64,1);
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.more_info{
    margin-top: 10px;
    min-height: 50px;
}
.more_info .h4{
    color: #9c9c9c;
    position: relative;
    height: 40px;
    background-color: #f9f9f9;
    line-height: 40px;
    font-weight: normal;
    text-align: center;
}
.more_info h4 .cut{
    padding-left: 24px;
    position: relative;
    height: 40px;
    line-height: 0.4px;
    font-weight: normal;
}
.more_info h4 .cut:before{
    background-position: -1.2rem -0.4rem;
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(/public/img/vip/icons.png) no-repeat center;
    background-size: 20px 20px;
    top: 50%;
    margin-top: -10px;
    left: 0;
}
.more_info h4 .cut:after{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background:url(/public/img/vip/icons.png) no-repeat center;
     background-size: 20px 20px;
    top: 50%;
    margin-top: -10px;
    right: 0;
}
.price ul{
    width: 200px;
    display: flex;
    justify-content: space-between;
}
.accessories{
    margin-top: 10px;
    padding-bottom: 16px;
}
.division{
    text-align: center; 
}
.division h2{
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
}
.accessories ul{
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0;
}
.accessories ul li{
    display: inline-block;
    position: relative;
    margin-left: 6px;
    width: 100px;
    text-align: center;
}
.accessories ul li .img_wrap{
    width: 100%;
    height: 100px;
}
.accessories ul li .img_wrap img{
    max-width: 100%;
    max-height: 100%;
    position: relative;
    vertical-align: top;
}
.accessories ul li h3{
    color: #3e3e3e;
    width: 100%;
    line-height: 20px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: nowrap;
    // font-weight: normal;
    text-overflow:ellipsis;
}
.accessories ul li h4{
    font-size: 11px;
    line-height: 20px;
    height: 20px; 
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    text-align: center;
}
.daccessories ul li h4 b{
    vertical-align: middle;
}
.accessories ul li h4 i{
  float: right;
  width: 15px;
  height: 15px;
  display: block;
  background-color: red;
  line-height: 15px;
  color: #f9f9f9;
}
</style>